﻿using UnityEngine;
using System.Collections;

// 飞向
public class FlyTo : MonoBehaviour
{
    public Transform Target;
    public float Speed = 5;
    // Update is called once per frame
    void Update()
    {
        transform.Translate((Target.position - transform.position).normalized * Speed * Time.deltaTime, Space.World);
    }
}
